package com.sand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sand.dto.Select.UserSelect;
import com.sand.dto.supplier.AddSupplier;
import com.sand.dto.supplier.SupplierDto;
import com.sand.entity.user.supplier;

import java.util.List;


public interface SupplierService extends IService<supplier> {
    /**
     * 添加供货商
     * @param addSupplier
     * @return
     */
    String add(AddSupplier addSupplier);

    /**
     * 查询供货商
     * @param userSelect
     * @return
     */
    SupplierDto select(UserSelect userSelect);

    /**
     * 查询所有供货商
     */
    List<SupplierDto> listAll();

}
